When a toplevel window gets hidden (and not destroyed),
the frontend code set the HIDDEN state, and we need to
emit child notification when that happens.
GTK_ACCESSIBLE (widget));
}
else
- g_warning ("Setting GTK_ACCESSIBLE_STATE_HIDDEN on toplevels is not supported");
+ {
+ gtk_at_spi_root_child_changed (self->root,
+ hidden ? GTK_ACCESSIBLE_CHILD_STATE_REMOVED
+ : GTK_ACCESSIBLE_CHILD_STATE_ADDED,
+ G_MAXUINT,
+ widget);
+ }
}
if (changed_states & GTK_ACCESSIBLE_STATE_CHANGE_BUSY)